import Vue from 'vue' 
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Trans',
      component: () => import('views/Trans')
    },
    {
      path: '/records',
      name: 'Records',
      component: () => import('views/Records')
    }
  ],
  mode: 'history'
})